package com.lxl.bt.activity;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.widget.Toolbar;

import com.lxl.bt.R;
import com.lxl.bt.activity.BaseActivity;
import com.lxl.bt.util.ACache;
import com.yanzhenjie.sofia.Sofia;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Create by lvxinlong
 * on  订单详情
 * on  2021年3月5日23:53:05
 **/
public class OrderDetailActivity extends BaseActivity {


    @BindView(R.id.ivBack)
    ImageView ivBack;
    @BindView(R.id.rlBack)
    RelativeLayout rlBack;
    @BindView(R.id.txt_toolbar_title)
    TextView txtToolbarTitle;
    @BindView(R.id.ivRight)
    ImageView ivRight;
    @BindView(R.id.tvRight)
    TextView tvRight;
    @BindView(R.id.rlRight)
    RelativeLayout rlRight;
    @BindView(R.id.toolbar)
    Toolbar toolbar;
    @BindView(R.id.tvName)
    TextView tvName;
    @BindView(R.id.tvTime)
    TextView tvTime;
    @BindView(R.id.tvStatus)
    TextView tvStatus;
    @BindView(R.id.tvDes)
    TextView tvDes;
    @BindView(R.id.tv10)
    TextView tv10;
    @BindView(R.id.tvT1)
    TextView tvT1;
    @BindView(R.id.tvLeiji)
    TextView tvLeiji;
    @BindView(R.id.tvZt)
    TextView tvZt;
    @BindView(R.id.tvEndDay)
    TextView tvEndDay;
    @BindView(R.id.tvEndTime)
    TextView tvEndTime;
    @BindView(R.id.tvDetail)
    TextView tvDetail;
    private Context context;
    ACache aCache;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_orderdetail);
        ButterKnife.bind(this);
        //状态栏全透明全屏显示页面，布局能够延伸到状态栏和导航栏下方
        Sofia.with(this)
                .invasionStatusBar()
                .statusBarLightFont()
//                .statusBarDarkFont()
                .statusBarBackgroundAlpha(0)
                .invasionNavigationBar()
                .navigationBarBackgroundAlpha(0);

        context = this;
        rlBack.setVisibility(View.VISIBLE);
        txtToolbarTitle.setText("订单详情");
        aCache = ACache.get(this);
    }



    @OnClick(R.id.rlBack)
    public void onClick() {
        finish();
    }
}
